#pragma once
#include "Plugin.h"
#include "PluginDLL.h"

#include <btBulletDynamicsCommon.h>

class PLUGINDLL_API ConcretePlugin : public Plugin
{
private:
	btBroadphaseInterface* broadphase;
	btDefaultCollisionConfiguration* collisionConfiguration;
	btCollisionDispatcher* dispatcher;
	btSequentialImpulseConstraintSolver* solver;
	btDiscreteDynamicsWorld* dynamicsWorld;
	btCollisionShape* groundShape;
	btCollisionShape* fallShape;

	btRigidBody* fallRigidBody;
	btRigidBody* groundRigidBody;

public:
     ConcretePlugin(void);
    ~ConcretePlugin(void);

	bool SanityCheck(void);
	bool Initialize(void);
	bool Update(void);
	bool Destroy(void);
};
